<template>
    <div class="kefu_v">
        <iframe :src="data.kefu_link"></iframe>
    </div>
</template>

<script>

    import Fetch from '../../utils/fetch'

    export default {
        name: "custom",
        components: {},
        data() {
            return {
                data: {}
            };
        },
        created() {
            this.$parent.footer(true, 'kefu');
        },
        mounted() {
            this.start();
            
        },
        methods: {
            start() {

                Fetch('/api/api/webconfig', {type: 'web'}).then(res => {
                    this.data = res.data;
                })
            },
        }
    };
</script>

<style lang="less" scoped>

    .kefu_v {
        position: fixed;
        width: 100%;
        height: 100%;
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll;

        iframe {
            padding-bottom: 55px;
            width: 100%;
            height: 100%;
        }
    }
</style>


